﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using MYData.Entity.SystemModels;

namespace MYData.Entity.DomainModels.TestEntity
{
    [Table("sys_test")]
    [Entity(TableCnName = "测试表", TableName = "sys_test")]
    public class sys_test: BaseEntity
    {
        [Key]
        [Display(Name = "Id")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int Id { get; set; }

        /// <summary>
        ///任务id
        ///// </summary>
        [Display(Name = "Name")]
        [MaxLength(1000)]
        [Column(TypeName = "nvarcher(max)")]
        [Editable(true)]
        public string Name { get; set; }
    }
}
